s=input("请输入文字：")
for i in range(0,len(s)):
    print(s[len(s)-1-i])